package com.lance.controller;

import com.lance.model.User;
import com.lance.service.FeignService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

/**
 * @author lancecong
 * @version 1.0
 * @ClassName
 * @DESCRIPTION TODO
 * @create2019/1/6
 **/
@Slf4j
@RestController
public class venusController implements FeignService {

    @Override
    public String searchRepos(String q) {
        return null;
    }

    @Override
    public String addUser(User user) {
        return null;
    }

    @Override
    public String updateuser(User user) {
        User dfsdf = new User();
        HashMap hashMap = new HashMap();
        hashMap.put("k", "value");


        System.out.println("insert db ....");
        return "venus---update....";
    }
}
